package com.aaa.entity;

import java.util.List;

public class PagerData<T> {

	//当前第几页
	private Integer curPage;
	
	//每页记录条数
	private Integer pageSize;
	
	//共几条
	private Integer totalCount;
	
	//共几页
	private Integer totalPage;
	
	//当前页的记录数据
	private List<T> dataList;

	public Integer getCurPage() {
		return curPage;
	}

	public void setCurPage(Integer curPage) {
		this.curPage = curPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public Integer getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}

	public List<T> getDataList() {
		return dataList;
	}

	public void setDataList(List<T> dataList) {
		this.dataList = dataList;
	}

	@Override
	public String toString() {
		return "PagerData [curPage=" + curPage + ", pageSize=" + pageSize + ", totalCount=" + totalCount
				+ ", totalPage=" + totalPage + ", dataList=" + dataList + "]";
	}
}
